<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.plt.dumb_shelve.DbfilenameShelf</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.plt-module.html">Package&nbsp;plt</a> ::
        <a href="Priithon.plt.dumb_shelve-module.html">Module&nbsp;dumb_shelve</a> ::
        Class&nbsp;DbfilenameShelf
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.plt.dumb_shelve.DbfilenameShelf-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class DbfilenameShelf</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.plt.dumb_shelve-pysrc.html#DbfilenameShelf">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_priithon_19" name="uml_class_diagram_for_priithon_19">
<area shape="rect" id="node77" href="Priithon.plt.dumb_shelve.DbfilenameShelf-class.html#__init__" title="Priithon.plt.dumb_shelve.DbfilenameShelf.__init__" alt="" coords="29,604,217,623"/>
<area shape="rect" id="node1" href="Priithon.plt.dumb_shelve.DbfilenameShelf-class.html" title="Shelf implementation using the &quot;anydbm&quot; generic dbm interface." alt="" coords="17,571,228,629"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.keys" alt="" coords="36,340,212,359"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__len__" alt="" coords="36,359,212,377"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.has_key" alt="" coords="36,377,212,396"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__contains__" alt="" coords="36,396,212,415"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.get" alt="" coords="36,415,212,433"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__getitem__" alt="" coords="36,433,212,452"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__setitem__" alt="" coords="36,452,212,471"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__delitem__" alt="" coords="36,471,212,489"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.close" alt="" coords="36,489,212,508"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.__del__" alt="" coords="36,508,212,527"/>
<area shape="rect" id="node78" href="javascript:void(0);" title="shelve.Shelf.sync" alt="" coords="36,527,212,545"/>
<area shape="rect" id="node2" href="javascript:void(0);" title="Base class for shelf implementations." alt="" coords="24,307,224,551"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.__iter__" alt="" coords="17,39,229,57"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.iteritems" alt="" coords="17,57,229,76"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.iterkeys" alt="" coords="17,76,229,95"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.itervalues" alt="" coords="17,95,229,113"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.values" alt="" coords="17,113,229,132"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.items" alt="" coords="17,132,229,151"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.clear" alt="" coords="17,151,229,169"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.setdefault" alt="" coords="17,169,229,188"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.pop" alt="" coords="17,188,229,207"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.popitem" alt="" coords="17,207,229,225"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.update" alt="" coords="17,225,229,244"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.__repr__" alt="" coords="17,244,229,263"/>
<area shape="rect" id="node79" href="javascript:void(0);" title="UserDict.DictMixin.__cmp__" alt="" coords="17,263,229,281"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="UserDict.DictMixin" alt="" coords="5,6,240,287"/>
</map>
  <img src="uml_class_diagram_for_priithon_19.gif" alt='' usemap="#uml_class_diagram_for_priithon_19" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Shelf implementation using the &quot;anydbm&quot; generic dbm 
  interface.</p>
  <p>This is initialized with the filename for the dbm database. See the 
  module's __doc__ string for an overview of the interface.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.dumb_shelve.DbfilenameShelf-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">filename</span>,
        <span class="summary-sig-arg">flag</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">c</code><code class="variable-quote">'</code></span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.dumb_shelve-pysrc.html#DbfilenameShelf.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>shelve.Shelf</code></b>:
      <code>__contains__</code>,
      <code>__del__</code>,
      <code>__delitem__</code>,
      <code>__getitem__</code>,
      <code>__len__</code>,
      <code>__setitem__</code>,
      <code>close</code>,
      <code>get</code>,
      <code>has_key</code>,
      <code>keys</code>,
      <code>sync</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>UserDict.DictMixin</code></b>:
      <code>__cmp__</code>,
      <code>__iter__</code>,
      <code>__repr__</code>,
      <code>clear</code>,
      <code>items</code>,
      <code>iteritems</code>,
      <code>iterkeys</code>,
      <code>itervalues</code>,
      <code>pop</code>,
      <code>popitem</code>,
      <code>setdefault</code>,
      <code>update</code>,
      <code>values</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">filename</span>,
        <span class="sig-arg">flag</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">c</code><code class="variable-quote">'</code></span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.dumb_shelve-pysrc.html#DbfilenameShelf.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        shelve.Shelf.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:36 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
